Skip to content

test(hover): add live no-op nameserver write probe#37

Merged
intel352 merged 4 commits into
mainfrom
codex/live-setnameservers-noop
Jun 6, 2026
Merged

test(hover): add live no-op nameserver write probe#37
intel352 merged 4 commits into
mainfrom
codex/live-setnameservers-noop

Conversation

@intel352
Copy link
Copy Markdown
Contributor

@intel352 intel352 commented Jun 6, 2026

Adds an env-gated live test for the Hover browser write path. The test refuses to write unless HOVER_LIVE_NS_DOMAIN and HOVER_LIVE_NS_EXPECTED are supplied, verifies the current registrar nameservers match the expected no-op value, calls SetNameservers with that same value, and verifies the post-read still matches.\n\nVerification:\n- GOWORK=off go test ./pkg/hoverclient -run TestLiveSetNameserversNoop -count=1 -v\n- GOWORK=off go test ./... -count=1\n\nRuntime validation to run from GoCodeAlone/gocodealone-dns after this branch is available:\n- hover_ref=codex/live-setnameservers-noop\n- run_write_probe=true\n- write_probe_domain=coredump.computer\n- expected_nameservers=ns1.hover.com,ns2.hover.com

Copilot AI review requested due to automatic review settings June 6, 2026 02:27
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an env-gated live “no-op” write probe to validate the Hover browser backend’s SetNameservers path end-to-end (read → write same value → read).

Changes:

  • Introduces TestLiveSetNameserversNoop, gated by HOVER_LIVE_TEST=1 plus domain/expected-nameserver env vars.
  • Adds small helpers to parse and normalize nameserver lists for stable comparisons in the live test.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/hoverclient/browser_live_test.go
Comment thread pkg/hoverclient/browser_live_test.go Outdated
@intel352 intel352 merged commit 776ac4c into main Jun 6, 2026
4 checks passed
@intel352 intel352 deleted the codex/live-setnameservers-noop branch June 6, 2026 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants